<div class="sidebar-collapse">
    <ul class="nav" id="side-menu">
        <li class="nav-header">
            <div class="dropdown profile-element">
                <span><img alt="image" class="img-circle" src="${base}/img/avatars/sunny.png" /></span>
                <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <span class="clear">
                               <span class="block m-t-xs"><strong class="font-bold">BOSS系统</strong></span>
                                <span class="text-muted text-xs block">${loginUsername!}<b class="caret"></b></span>
                                </span>
                </a>
                <ul class="dropdown-menu animated fadeInRight m-t-xs">
                    <li><a class="J_menuItem" href="###">修改头像</a>
                    </li>
                    <li><a class="J_menuItem" href="###">个人资料</a>
                    </li>
                    <li><a class="J_menuItem" href="###">联系我们</a>
                    </li>
                    <li><a class="J_menuItem" href="###">信箱</a>
                    </li>
                    <li class="divider"></li>
                    <li>
                        <a href="${base}/admin/logout">安全退出</a>
                    </li>
                </ul>
            </div>
            <div class="logo-element">
            </div>
        </li>

        <%for(menu in menuList!){%>
        <li>
            <a href="#">
                <i class="fa fa-home ${menu.icon}"></i>
                <span class="nav-label">${menu.name!}</span>
                <span class="fa arrow"></span>
            </a>
            <ul class="nav nav-second-level">
                <%for(children in menu.children!){%>
                <li>
                    <a class="J_menuItem" href="${base}${children.url!}">${children.name!}</a>
                </li>
                <%}%>
            </ul>

        </li>
        <%}%>

    </ul>
</div>